package com.helloniu.data {

import com.helloniu.fl.util.Tool;

public class BussinessTypeDef {
	public function BussinessTypeDef() {
	}

	// conferenece and bussiness manager
	public static const CONFMGR:int = 0X01;
	public static const CHAT:int = 0X02;
	public static const WHITEBOARD:int = 0X03;
	public static const DOCSHARE:int = 0X04;
	public static const DESKSHARE:int = 0X05;
	
	public static function isValid(busiType:int):Boolean {
		if(busiType == CONFMGR || busiType == CHAT ||
			busiType == WHITEBOARD || busiType == WHITEBOARD || busiType == DESKSHARE) 
	    {
			return true;
		}
		
		Tool.alert("---error busitype found----");
		return false;		
	}
}
}